package com.rp.configure.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rp.configure.entity.Gateway;
import com.rp.configure.mapper.GatewayMapper;
import com.rp.configure.service.GatewayService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author vicente
 * @since 2021-07-16
 */
@Service
public class GatewayServiceImpl extends ServiceImpl<GatewayMapper, Gateway> implements GatewayService {
    @Autowired
    GatewayMapper gatewayMapper;
    @Override
    public IPage<Gateway> listPage(Page<Gateway> page, String userId, String subjectId, Integer isOnline) {
        return gatewayMapper.listPage(page,userId,subjectId,isOnline);
    }
}
